package site.teamo.biu.net.common.constant;

/**
 * @author haocongshun
 * @date 2023/06/13 17:11:49
 */
public enum Protocol {
    TCP_GENERIC(null, true, false),
    HTTP("http://", true, false),
    HTTPS("https://", true, false);
    public final String scheme;
    public final boolean isTcp;

    public final boolean isUdp;

    Protocol(String scheme, boolean isTcp, boolean isUdp) {
        this.scheme = scheme;
        this.isTcp = isTcp;
        this.isUdp = isUdp;
    }
}
